package com.king.zkrpc.api.impl;

import com.king.zkrpc.api.User;
import com.king.zkrpc.api.UserService;
import com.king.zkrpc.common.protocol.RpcService;

/**
 * Created by ddyb on 2016/5/22.
 */
@RpcService(UserService.class)
public class UserServiceImpl implements UserService {
    @Override
    public User getUser() {
        System.out.println("-------username : dudy");
        return  new User("dudy");
    }
}
